package com.example.SpringBoot_demo.service;

import com.example.SpringBoot_demo.bean.LoginUser;
import com.example.SpringBoot_demo.bean.User;

/**
 *
 */
public interface ILoginService {
    LoginUser loginById(String userId);
    LoginUser loginByName(String userName);
    LoginUser getUserByEmail(String email);
    void updateUserPassword(String email,String userName,String password,String password2) ;
    LoginUser login(String username, String password);
    void registUser(String userId,  String userName, String password,String password2, String userSex,  String userPhone,String userAddress ,String email );
}
